export function fetchResolver() {
  return {
    type: 'function',
    resolve: (name) => {
      if (name.startsWith('fetch')) {
        return {
          name,
          from: `@/api/index`
        }
      }
    }
  }
}
